package pdm.traj.service;

import java.util.List;

import pdm.traj.entity.PartInfo;
import pdm.traj.entity.TrackPoint2;
import pdm.traj.entity.TrajQuery;

public interface KeyService {
	public String getKeyByTP(TrackPoint2 tp);
	public String removeKeyPrefix(String key);
	public List<String> getKeysBySidDuration(List<String> sids, String startTime, String endTime);
	public List<String> getKeysByAllSidDuration(String startTime, String endTime);
	public List<String> getKeyPostfixByDuration(String startTime, String endTime);
	public List<String> getKeysByRegionDuration(double x1, double y1, double x2, double y2, String startTime, String endTime);
	public List<String> getKeysByPartInfoAndQuery(PartInfo partInfo, TrajQuery query);
	
}
